3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D defines the Macintosh draw context data structure to maintain information that is specific to Macintosh draw contexts. The Macintosh draw context data structure is defined by the TQ3MacDrawContextData data type.
typedef struct TQ3MacDrawContextData {
TQ3DrawContextData drawContextData;
CWindowPtr window;
TQ3MacDrawContext2DLibrary library;
gxViewPort viewPort;
CGrafPtr grafPort;
} TQ3MacDrawContextData;
typedef enum TQ3MacDrawContext2DLibrary {
kQ3Mac2DLibraryNone,
kQ3Mac2DLibraryQuickDraw,
kQ3Mac2DLibraryQuickDrawGX
} TQ3MacDrawContext2DLibrary;
Previous | QD3D Book | Overview | Chapter Contents | Next |